<?php
namespace Tyrone\Model;
use Medoo\Medoo;

class RolePayTotal extends Base
{
    protected $table = OLD_CENTER_DB.'.l_player_pay_total';





    public function getPlayerTotal($day){

        return $this->database->select($this->table,[
            'p.platform',
            'p.plat_server',
            'p.player_id',
            'p.rmb',
        ],[
            'p.day' => $day
        ]);
    }


}